package com.llxz.blog.basic.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by IntelliJ IDEA.
 *
 * @author zzh
 * @description:. date: 2021/9/4 9:52
 */

@Data
@AllArgsConstructor
@EqualsAndHashCode(callSuper=true)
public class MyException extends RuntimeException{
    private Integer code;//状态码
    private String message;//异常信息
}
